package com.zp.business.mapper.infusion;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zp.business.entity.infusion.InfusionRegister;
import com.zp.business.entity.infusion.bo.InfusionRegisterBo;
import com.zp.business.entity.infusion.vo.InfusionPrescriptionVo;
import com.zp.business.entity.infusion.vo.InfusionRegisterVo;
import com.zp.business.entity.patient.vo.ClinicMasterVo;
import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 输液室登记主Mapper接口
 *
 * @author zhang peng
 * @ date 2025-02-08
 */
@Repository
public interface InfusionRegisterMapper extends BaseMapperPlus<InfusionRegisterMapper, InfusionRegister, InfusionRegisterVo> {

    /**
     * 获取输液室登记患者信息
     * @param page
     * @param bo
     * @return
     */
    Page<ClinicMasterVo> listInfusionRegisterInfoList(@Param("page") Page<InfusionRegisterBo> page, @Param("bo") InfusionRegisterBo bo);

    /**
     * 获取登记后的输液明细
     * @param bo
     * @return
     */
    List<InfusionPrescriptionVo> listInfusionRegisterAndPrescItem (InfusionRegisterBo bo);

}
